package dev.mcdd.config;


import dev.mcdd.common.env.SelfBanner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.env.EnvironmentPostProcessor;
import org.springframework.core.env.ConfigurableEnvironment;

/**
 * @author mcdd1024
 * @name SelfEnvironmentPostProcessor
 * @since 2025/1/24 19:08
 */
public class SelfEnvironmentPostProcessor implements EnvironmentPostProcessor {
	@Override
	public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application) {
		application.setBanner(new SelfBanner());
	}
}
